const user = {
  data: {
    name: "后盾人",
    age: 18
  },
  set age(value) {
    // console.log("run...");
    if (typeof value != "number" || value < 10 || value > 100) {
      throw new Error("年龄格式错误");
    }
    this.data.age = value;
  },
  get age() {
    // return "abc";
    return this.data.age;
  }
};
user.age = 99;
console.log(user.age);
